<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台首页</title>

<link rel="stylesheet" href="../../../Public/static/css/bootstrap.min.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../../../Public/static/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../Public/admin/css/index.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../../../Public/admin/css/main.css" type="text/css" media="screen" />

<script type="text/javascript" src="../../../Public/static/js/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="../../../Public/static/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../../../Public/admin/js/tendina.min.js"></script>
<script type="text/javascript" src="../../../Public/admin/js/common.js"></script>


<!-- 编辑器源码文件 -->
<script type="text/javascript" src="../../../Public/static/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="../../../Public/static/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript" charset="utf-8" src="../../../Public/static/ueditor/lang/zh-cn/zh-cn.js"></script>
<!-- 验证表达内容，如不为空 -->
<script type="text/javascript" src="../../../Public/static/js/bootstrap3-validation.js"></script>
<script type="text/javascript">
var ue = UE.getEditor('container');
$(function(){
   //1. 简单写法：
   $("form").validation();
   $("button[type='submit']").on('click',function(event){
     // 2.最后要调用 valid()方法。
     if ($("form").valid(this,"error!")==false){
       return false;
     }
   })  });
</script>

</head>
<body>
<!--顶部-->
<div class="row">
    <div class="layout_top_header">
        <div style="float: left"><span style="font-size: 16px;line-height: 45px;padding-left: 20px;color: #fff">众规武汉-管理后台</h1></span></div>
        <div id="ad_setting" class="ad_setting">
          <a class="ad_setting_a" href="javascript:; ">
            <i class="icon-user glyph-icon" style="font-size: 20px"></i>
            <span>管理员</span>
            <i class="icon-chevron-down glyph-icon"></i>
          </a>
          <ul class="dropdown-menu-uu" style="display: none" id="ad_setting_ul">
            <li class="ad_setting_ul_li"> <a href="javascript:;"><i class="icon-user glyph-icon"></i> 个人中心 </a> </li>
            <li class="ad_setting_ul_li"> <a href="javascript:;"><i class="icon-cog glyph-icon"></i> 设置 </a> </li>
            <li class="ad_setting_ul_li"> <a href="javascript:;"><i class="icon-signout glyph-icon"></i> <span class="font-bold">退出</span> </a> </li>
          </ul>
        </div>
    </div>
</div>
  <!--顶部结束-->

  <!--主体开始-->
<div class="row main-cont">
    <div class="col-md-12">
      	<!--左侧菜单-->
      	<div class="col-md-2 layout_left_menu">
	        <ul id="menu">
	          <li class="childUlLi">
	           <a href="#"  target="menuFrame"><i class="glyph-icon icon-home"></i>首页</a>
	            <ul>
	              <li><a href="#"><i class="glyph-icon icon-chevron-right"></i>最新动态</a></li>
	            </ul>
	          </li>
	          <li class="childUlLi">
	            <a href="#"  target="menuFrame"> <i class="icon-group"></i>用户管理</a>
	            <ul>
	              <li><a href="#"><i class="glyph-icon icon-chevron-right"></i>用户管理</a></li>
	              <li><a href="#"><i class="glyph-icon icon-chevron-right"></i>角色管理</a></li>
	              <li><a href="#"><i class="glyph-icon icon-chevron-right"></i>权限管理</a></li>
	            </ul>
	          </li>
	          <li class="childUlLi">
	            <a href="#" target="menuFrame"> <i class="glyph-icon icon-reorder"></i>内容管理</a>
	            <ul>
	              <li><a href="#"><i class="glyph-icon icon-chevron-right"></i>栏目分类</a></li>
	              <li><a href="#"><i class="glyph-icon icon-chevron-right"></i>发布文章</a></li>
	              <li><a href="#"><i class="glyph-icon icon-chevron-right"></i>新闻列表</a></li>
	            </ul>
	          </li>
	          <li class="childUlLi">
	            <a href="#" target="menuFrame"> <i class="icon-bullhorn"></i>互动管理</a>
	            <ul>
	              <li><a href="#"><i class="glyph-icon icon-chevron-right"></i>投票系统</a></li>
	              <li><a href="#"><i class="glyph-icon icon-chevron-right"></i>推送内容</a></li>
	              <li><a href="#"><i class="glyph-icon icon-chevron-right"></i>公告管理</a></li>
	            </ul>
	          </li>
	          <li class="childUlLi">
	            <a href="#"> <i class="icon-wrench"></i>微信基础设置</a>
	            <ul>
	              <li><a href="#"><i class="glyph-icon icon-chevron-right"></i>首次关注</a></li>
	              <li><a href="#"><i class="glyph-icon icon-chevron-right"></i>自动回复</a></li>
	              <li><a href="#"><i class="glyph-icon icon-chevron-right"></i>关键字回复</a></li>
	              <li><a href="#"><i class="glyph-icon icon-chevron-right"></i>自定义菜单</a></li>
	            </ul>
	          </li>
	          <li class="childUlLi">
	            <a href="#"> <i class="icon-spinner"></i>数据魔方</a>
	            <ul>
	              <li><a href="#"><i class="glyph-icon icon-chevron-right"></i>关注数</a></li>
	            </ul>
	          </li>
	        </ul>
      	</div>
      <!--左侧菜单结束-->
	    <div class="col-md-10">
	    	<div class="route_bg">
			    <a href="#">主页</a><i class="glyph-icon icon-chevron-right"></i>
			    <a href="#">内容管理</a><i class="glyph-icon icon-chevron-right"></i>
			    <a href="#">增加文章</a>
			</div>
	    	<div class="col-md-12 data-table table-striped">
	            <form class="form-horizontal" role="form" action="/admin/article/insert" method="post" enctype="multipart/form-data">
	              <div class="form-group">
	                <label for="title" class="col-md-1 control-label">文章名</label>
	                <div class="col-md-5">
	                   <input type="text" name="title" class="form-control" id="title" placeholder="" check-type="required" required-message="文章名不能为空">
	                </div>
	              </div>
	              <div class="form-group">
	                <label for="author" class="col-md-1 control-label">作者名</label>
	                <div class="col-md-3">
	                   <input type="text" name="author" class="form-control" placeholder="">
	                </div>
	              </div>
	              <div class="form-group">
	                <label for="sort" class="col-md-1 control-label">文章类别</label>
	                <div class="col-md-5">
	                   <select class="form-control" name="sid">
	                    <option selected value="12">新闻</option>
	                                          
	                     </option>                     <option value="13">招聘</option>                     
	                     </option>                     <option value="15">公司介绍</option>                     
	                     </option>                     <option value="16">微信文章</option>                     
	                     </option>                    </select>
	                </div>
	              </div>
	              <div class="form-group">
	                <label for="sort" class="col-md-1 control-label">图片上传</label>
	                <div class="col-md-5">
	                  <input type="file" name="pic" placeholder="">
	                </div>
	              </div>
	              <div class="form-group">
	                <label for="remark" class="col-md-1 control-label">文章简介</label>
	                <div class="col-md-5">
	                    <textarea class="form-control" name="remark"></textarea>
	                </div>
	              </div>
	              <div class="form-group">
	                <label for="title" class="col-md-1 control-label">文章内容</label>
	                <div class="col-md-8">
	                    <textarea class="cont" id="container" name="contents" type="text/plain">
	                    </textarea>
	                </div>
	              </div>
	              <div class="form-group">
	                <div class="col-md-offset-2 col-sm-10">
	                  <button type="submit" class="btn btn-default">提交</button>
	                  <button type="reset" class="btn btn-default  col-md-offset-1">重置</button>
	                </div>
	              </div>
	            </form>
	        </div>
	    </div>
	</div>
</div>
  <!--主体结束-->
  
  <!-- 底部 -->
<div class="layout_footer row">
    <p>Copyright © 2015 - 众规武汉</p>
 </div>
  <!-- 底部 -->
</body>
</html>